Removed upgrade command, as its not recommented. Trying -f for mapscript again