removed -shared and added chmod +x