Made the fcgi script executable
Fixed missing imports