add autoload function and images for test script