Added small sleep to prevent pymol from quitting before rendering