Implements -F function in script
Implements -t function in script