Hi, at my new job, I need to think of a funny concept for a short film. One example which they gave was, 'if technology was given to guys in Flintstones age.'

How do you write funny scripts?
How do you think of funny scripts? Where do you get the ideas from? Any advice...