correcting import of activity type by using main function

...tytype in facebook script