moving message to properties file